Adwaita: .scrollbars-junction
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 18 Jun 2014 07:52:29 +0000 (09:52 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 18 Jun 2014 07:52:29 +0000 (09:52 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 4b308a1e374c39764ad2f4bfbe5e4ab3f308b342..93f685ec74a557ed5edc32efa4f6e1eb63327f02 100644 (file)
@@ -1024,12 +1024,7 @@ GtkPopover {
   .button {
     border: none;
   }
-  &.trough {
-    background-color: darken($bg_color, 5%);
-    &:backdrop {
-      background-color: transparent;
-    }
-  }
+  &.trough { @extend .scrollbars-junction; }
   &.slider {
     border-radius: 20px;
     border: 3px solid transparent; //margin :/
@@ -1052,6 +1047,12 @@ GtkPopover {
   }
 }
 
+.scrollbars-junction { // the small square between two scrollbars
+  background-color: darken($bg_color, 5%);
+  &:backdrop { background-color: transparent; }
+}
+
+
 /**********
  * Switch *
  **********/
index 51936aa0ff7c110b17f214f880585dcf4737ede6..04b7b41130077ee09c90abf0c40f2d34fa898d1d 100644 (file)
@@ -1155,10 +1155,6 @@ GtkPopover {
   -GtkRange-trough-under-steppers: 1; }
   .scrollbar .button {
     border: none; }
-  .scrollbar.trough {
-    background-color: #2d3232; }
-    .scrollbar.trough:backdrop {
-      background-color: transparent; }
   .scrollbar.slider {
     border-radius: 20px;
     border: 3px solid transparent;
@@ -1174,6 +1170,11 @@ GtkPopover {
       .scrollbar.slider.fine-tune:prelight:active {
         background-color: #215d9c; }
 
+.scrollbars-junction, .scrollbar.trough {
+  background-color: #2d3232; }
+  .scrollbars-junction:backdrop, .scrollbar.trough:backdrop {
+    background-color: transparent; }
+
 /**********
  * Switch *
  **********/
index fe83d3eff788bc9c0f31127bee19bdb7cfbad748..14356bcd55d12e0c76a2aeff00ca2cab9faa609b 100644 (file)
@@ -1155,10 +1155,6 @@ GtkPopover {
   -GtkRange-trough-under-steppers: 1; }
   .scrollbar .button {
     border: none; }
-  .scrollbar.trough {
-    background-color: #e0e0e0; }
-    .scrollbar.trough:backdrop {
-      background-color: transparent; }
   .scrollbar.slider {
     border-radius: 20px;
     border: 3px solid transparent;
@@ -1174,6 +1170,11 @@ GtkPopover {
       .scrollbar.slider.fine-tune:prelight:active {
         background-color: #4a90d9; }
 
+.scrollbars-junction, .scrollbar.trough {
+  background-color: #e0e0e0; }
+  .scrollbars-junction:backdrop, .scrollbar.trough:backdrop {
+    background-color: transparent; }
+
 /**********
  * Switch *
  **********/